/*
 * StaticScoreCalc.h
 *
 *  Created on: Nov 27, 2011
 *      Author: srihari
 */

#ifndef STATICSCORECALC_H_
#define STATICSCORECALC_H_
#define SEC_WEIGHT 1
#define REF_WEIGHT 2

#include "../include/config.h"
#include "../DocumentRepresentation/CDocument.h"
#include "../include/CUtilities.h"
#include "../DictionaryBuilders/TermDictBuilder.h"
#include "../DocumentParsers/CWhiteSpaceParser.h"


class StaticScoreCalc {
	static StaticScoreCalc* instance;
	ofstream scoreOutStream;
public:
	StaticScoreCalc();
	virtual ~StaticScoreCalc();
	static StaticScoreCalc* getInstance();
	void openStream();
	void closeStream();
	void writeStaticScore(CDocument& doc);
	void initCatTermCountMap(CDocument& doc, string allCategory);
};

#endif /* STATICSCORECALC_H_ */
